//
//  LoginReturnJson.m
//  MyBlog
//
//  Created by zhen7216 on 2017/6/2.
//  Copyright © 2017年 chenzhen. All rights reserved.
//

#import "LoginReturnJson.h"

@implementation LoginReturnJson

- (LoginReturnJson *)LoginReturnJsonWithDict:(NSDictionary *)dict {
    
    if (dict == nil) {
        return nil;
    }
    
    if (dict.count == 1) {
        self.userid = dict[@"userid"];
    }
    
    return self;
}

@end
